package cn.nawang.ebeim.api.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import cn.nawang.ebeim.api.domain.StorageServer;

/**
 * @ClassName: StorageServerRepository
 * @Description: TODO
 * @author fanyb
 * @date Aug 18, 2015 11:29:26 AM
 * @version v1.0
 */
public interface StorageServerRepository extends JpaRepository<StorageServer, String>{
  
  @Query("select ss from StorageServer ss where ss.storageCloudId=?1")
  public List<StorageServer> findByCloudIdList(String storageCloudId);
}
